package com.andy.basics;

import java.util.Map;

public class ClassMapper {

	private Map<String, Class<? extends Entity>> classMap;

	public Map<String, Class<? extends Entity>> getClassMap() {
		return this.classMap;
	}

	public void setClassMap(final Map<String, Class<? extends Entity>> map) {
		this.classMap = map;
	}

	public Class<?> map(final String clazz) {
		return this.classMap.get(clazz);
	}
}
